<?php 
get_header();
?>

<center>

		<div id="content">  
  <div id="header">
				<p class="titletop"><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></p>
				<p class="titlesub"><?php bloginfo('description'); ?></p>
  </div>
  
  <?php 
get_sidebar();
?>
<img src="<?php bloginfo('template_directory'); ?>/images/pic.jpg" alt="<?php bloginfo('name'); ?>" width="553" height="220" />

				<div id="mainbar">
<p>
<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id();?>";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_color_border = "808080";
google_color_bg = "FFFFFF";
google_color_link = "445588";
google_color_url = "000000";
google_color_text = "000000";
//--></script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

	
<div class="post">
	<h1 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
	<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_author() ?> <?php the_date(); ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
	
	<div class="storycontent">
		<?php the_content(__('(more...)')); ?>
	</div>

	<div class="feedback">
            <?php wp_link_pages(); ?>
            <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
	</div>

</div>

<?php comments_template(); // Get wp-comments.php template ?>

<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>

<?php posts_nav_link(' - ', __('<<< Previous Page'), __('Next Page >>>')); ?>
	

<?php get_footer(); ?>